﻿#include <iostream>
#include <opencv2\opencv.hpp>
using namespace std;
using namespace cv;

int main()
{
	Mat image = imread("C:/Users/aaa/Pictures/Screenshots/Lena.png", IMREAD_COLOR);
	Mat gray = imread("C:/Users/aaa/Pictures/Screenshots/Lena.png", IMREAD_GRAYSCALE);

	//namedWindow("image", WINDOW_AUTOSIZE);
	//namedWindow("gray", WINDOW_NORMAL);

	//imshow("image", image);
	//imshow("gray", gray);

	//imwrite("C:/Users/aaa/Pictures/Screenshots/newLena.jpg", image);

	waitKey(0);

	return 0;
}